define(['route','user/index','user/add'],function(route,userIndex,userAdd){
	var router = new route({
		routes:[
			{
				path:'/user',
				component:userIndex  //组件   模块
			},
			{
				path:'/add',
				component:userAdd  //组件   模块
			}
		]
	})

	return router
})